package common

const (
	USERNAME      = "username"
	EXP           = "exp"
	TOKEN         = "token"
	INIT          = "INIT"
	RUN           = "RUN"
	SUCCESS       = "SUCCESS"
	ERROR         = "ERROR"
	GIT           = "GIT"
	SSH           = "SSH"
	SFTP          = "SFTP"
	DOCKER        = "DOCKER"
	MAVEN         = "MAVEN"
	NODEJS        = "NODEJS"
	K8S           = "K8S"
	GO            = "GO"
	CMAKE         = "CMAKE"
	DockerFile    = "Dockerfile"
	BuildPath     = "."
	DockerVersion = "latest"
	EnvWorkspace  = "#workspace#"
)

type UserStatus struct {
	Status int    `json:"status"`
	Desc   string `json:"desc"`
}

var (
	UserNormal = &UserStatus{Status: 1, Desc: "正常"}
	UserDown   = &UserStatus{Status: 2, Desc: "禁用"}
)
